package 面向对象.作业;

public class Girlfriend {
    private String name;
    private double high;
    private double tizhong;

    public Girlfriend() {
    }
    public Girlfriend(String name, double high, double tizhong) {
        this.name = name;
        this.high = high;
        this.tizhong = tizhong;
    }
    public void wash(){
        System.out.println("女朋友帮我洗衣服");
    }
    public void cook(){
        System.out.println("我漂亮的女朋友在我五百平米的豪宅里面给我做饭");

    }
    public void show(){
        System.out.println("姓名:"+name);
        System.out.println("身高:"+high);
        System.out.println("体重:"+tizhong);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getHigh() {
        return high;
    }

    public void setHigh(double high) {
        this.high = high;
    }

    public double getTizhong() {
        return tizhong;
    }

    public void setTizhong(double tizhong) {
        this.tizhong = tizhong;
    }


}
